package io.framework.modules.water.dao;

import io.framework.common.dao.BaseDao;
import io.framework.modules.water.entity.WaterBinhaiEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 滨海旅游区海水
 *
 * @author Gujq email
 * @since 1.0.0 2020-10-15
 */
@Mapper
public interface WaterBinhaiDao extends BaseDao<WaterBinhaiEntity> {

    //根据时间删除历史数据
    int deleteInfoByDate(@Param("year") String year);

    Integer checkData(String month);

    WaterBinhaiEntity getWaterInfoById(Map<String, Object> params);

}
